package com.xls.app.dao;

import com.xls.app.bean.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface UserDao {
    List<Users>listPage(@Param("page") Integer page,
                        @Param("size") Integer size,
                        @Param("uname") String uname);

    int count(@Param("uname")String uname);

}
